<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div>

    </div>
    <script>
        /* 
            主要是用来获取客户端（浏览器+操作系统等等）的信息
        */
        // 用户使用的操作系统的相关的信息
        console.log(window.navigator);
        console.log(window.navigator.userAgent); console.log(window.navigator.language);
        console.log(window.navigator.appVersion);
    </script>
</body>

</html>